<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<body>
<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<%--<script src="popWin.js"></script>
<script type="text/javascript">
    function openWin(){
        popWin.showWin("http://www.csdn.net",1000,600,function(){
            alert("关闭并执行回调函数");
        });
    }
    openWin();
</script>--%>
<style>
    .redpoint{
        height:14px;
        width:16px;
        border-radius:50px;
        /*display:inline-block;*/
        text-align:center;
        font-size:12px;
        color:#fff;
        background:red;
        /*position: relative;*/
        /*top: -45px;*/
        /*right: 100%;*/
        line-height: 14px;
        position:relative;
        float:left;
        left:45px;
        top:0px;
    }
    img{
        width:50px;
        height:50px;
    }
    /*去掉表格边框*/
    *{
        border:none;  
        margin:none; 
        line-height:20px; 
        padding:0px;   
    }
    .notice {
        position:relative;
        /*float:right;*/
        left:15px;
        top:15px;
        /*width:20px;
        height:20px;
        line-height:20px;
        font-size:10px;
        color:#fff;
        text-align:center;
        background-color:#f00;
        border-radius:50%;
        position:absolute;
        right:-10px;
        top:-10px;*/
    }
</style>
<script src="/js/jquery/jquery-1.4.2.min_wev8.js"></script>
<script>
    jQuery(function () {
       /*待办事宜条数*/
        jQuery.get("/ext/getWorkFolwTodo.jsp?random="+new Date().getTime(),function (data) {
           var temp = jQuery.trim(data);
            if(temp>99){
                jQuery("#oa").html("99+");
            }else{
                jQuery("#oa").html(data);
            }


        },"text");

        /*公文条数*/
        jQuery.get("/ext/view.jsp?ebaseid=6&eid=95&styleid=1442224702199&hpid=41&subCompanyId=41&random="+new Date().getTime(),function (html) {
           var temp = jQuery.trim(html);
            if(temp>99){
                jQuery("#gw").html("99+");
            }else{
                jQuery("#gw").html(temp);
            }

        },"text");

        /*明源ERP条数*/
        jQuery.get("/ext/getMyTodo.jsp?random="+new Date().getTime(),function (html) {
           var temp = jQuery.trim(html);
            if(temp>99){
                jQuery("#my").html("99+");
            }else{
                jQuery("#my").html(temp);
            }

        },"text");

        /*未读邮箱条数条数*/
        jQuery.get("/ext/getCoreMailTodo.jsp?random="+new Date().getTime(),function (html) {
           var temp = jQuery.trim(html);
            if(temp>99){
                jQuery("#yx").html("99+");
            }else{
                jQuery("#yx").html(temp);
            }

        },"text");
    });
</script>


<table align="center">
    <tbody>
        <tr class="firstRow">
            <td width="25%" valign="top">
                <a style="text-decoration:none" target="_blank" href="/workflow/search/wfTabFrame.jsp?offical=&officalType=-1&method=all&viewScope=doing&complete=0&wftypes=">
                    <img src="/weaver/weaver.file.FileDownload?fileid=2960" alt=""/>
                    <span class="redpoint" id="oa">
                        99+
                    </span>
                    
                </a>
                <%--<div class="notice">1</div>--%>
            </td>
            <td width="25%" valign="top">
                <a style="text-decoration:none" target="_blank" href="/homepage/Homepage.jsp?hpid=121&subCompanyId=41&isfromportal=1&isfromhp=0">
                    <img src="/weaver/weaver.file.FileDownload?fileid=2961" alt=""/>
                    <span class="redpoint" id="gw">
                        99+
                    </span>
                </a>
            </td>
            <td width="25%" valign="top">
                <a style="text-decoration:none" target="_blank" href="/interface/Entrance.jsp?id=ssdb">
                    <img src="/weaver/weaver.file.FileDownload?fileid=2962" alt=""/>
                    <span class="redpoint" id="my">
                        99+
                    </span>
                </a>
            </td>
            <td width="25%" valign="top">
                <a style="text-decoration:none" target="_blank" href="/interface/Entrance.jsp?id=coremail">
                    <img src="/weaver/weaver.file.FileDownload?fileid=2963" alt=""/>
                    <span class="redpoint" id="yx">
                        99+
                    </span>
                </a>
            </td>
        </tr>
        <tr>
            <td widthl="25%" valign="top" style="font-size:12px;word-break: break-all;text-align:right;">
                OA待办
            </td>
            <td width="25%" valign="top" style="font-size:12px;word-break: break-all;text-align:right;">
                未读公文
            </td>
            <td width="25%" valign="top" style="font-size:12px;word-break: break-all;text-align:right;">
                明源待办<br/>
            </td>
            <td width="25%" valign="top" style="font-size:12px;word-break: break-all;text-align:right;">
                未读邮件
            </td>
        </tr>
    </tbody>
</table>
<p>
    <br/>
</p>



</body>
</html>